package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * Scope: 作用域的注解
 *   1.singleton: 单例模式,也是默认的;
 *   2.prototype: 多例模式
 */
@Scope(value = "singleton")
@Component
public class Order {
    private String status;
}
